using System.Data.Entity.ModelConfiguration;

public sealed class JobInProgressMap : EntityTypeConfiguration<JobInProgress>
{
    public JobInProgressMap()
    {
        HasKey(t => t.JobId);
        HasRequired(t => t.Job).WithOptional();
        Property(x => x.SingletonLock);
    }
}